home *** CD-ROM | disk | FTP | other *** search
Text File | 1997-06-28 | 1.1 KB | 48 lines | [TEXT/CWIE] |
- // SubWindowFocus.h
-
- #ifndef SubWindowFocus_h
- #define SubWindowFocus_h
-
- #ifndef WindowFocus_h
- #include "WindowFocus.h"
- #endif
- #ifndef TabKeys_h
- #include "TabKeys.h"
- #endif
- #ifndef ListLink_h
- #include "ListLink.h"
- #endif
- #ifndef CommandLink_h
- #include "CommandLink.h"
- #endif
-
- class SubWindowFocus: public Focus,
- public Enableable,
- public TabKeys
- {
- private:
- ListLink< SubWindowFocus > link;
- const ListOf< SubWindowFocus >& siblings;
- CommandLink<TabKeys> tabber;
-
- protected:
- virtual void BeEnabled();
- virtual void BeDisabled();
-
- public:
- SubWindowFocus( WindowFocus&, AtStart );
- SubWindowFocus( WindowFocus&, AtEnd a = atEnd );
- SubWindowFocus( WindowFocus&, Before, SubWindowFocus& );
- SubWindowFocus( WindowFocus&, After, SubWindowFocus& );
-
- SubWindowFocus( WindowFocus&, TabKeys&, AtStart );
- SubWindowFocus( WindowFocus&, TabKeys&, AtEnd a = atEnd );
- SubWindowFocus( WindowFocus&, TabKeys&, Before, SubWindowFocus& );
- SubWindowFocus( WindowFocus&, TabKeys&, After, SubWindowFocus& );
-
- virtual void TabForward();
- virtual void TabBackward();
- };
-
- #endif
-